namespace main
{
    Root            * root;
    RenderWindow    * window;
    SceneManager    * scmgr;
    Camera          * camera;
    Viewport        * viewport;
    ConfigFile      * configfile;

    BillboardChainFactory bbchfact;
    int camera_mode, player_cast;
    float moving_speed, rotating_speed, timeSinceLastFrame;

    SphereSceneQuery * sphq; // the sphere scenequery
    Ogre::Sphere sph; // see line above
    MaterialPtr mat;
    ColourValue colorval1, colorval2;

    Vec3 translate, translate2;
    Quaternion rotate;
    Entity * e_target, * entplane, * ent_check, * e_ground;
    SceneNode * n_root, * n_master, * n_target, * n_cam, * n_yawpitch_ptr;
        // yaw-pitch-ptr will serve as a pointer to switch between 1st/rd person cam
}
